package com.yumeko.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.yumeko.entity.TPayment;
import com.yumeko.utils.ResponseData;

public class CustomerBlockHandler {

    public static ResponseData handlerException(BlockException exception) {
        return new ResponseData(4444, "按客户自定义,global handlerException", new TPayment(2020L, "serial0003"));
    }
    public static ResponseData handlerException2(BlockException exception) {
        return new ResponseData(4444, "按客户自定义2,global handlerException", new TPayment(2020L, "serial0003"));
    }
}
